package org.github.manx98.jlibhac.tools.fssystem;

/**
 * @author Manx98
 * @version 1.0
 * @since 2022/10/3 13:53
 */
public enum SearchOptions {
    Default,
    RecurseSubdirectories,
    CaseInsensitive;

    public boolean hasFlag(SearchOptions option) {
        return (this.ordinal() & option.ordinal()) > 0;
    }
}
